from django.db import models
from django.db.models.signals import post_save
from rangevoting.signals import create_voting_summary

class Film(models.Model):
    name = models.CharField(max_length=40)

    def __unicode__(self):
        return self.name

post_save.connect(create_voting_summary, sender=Film)
